package com.suli.multimedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suli.multimedia.entity.UserTicket;
import com.suli.multimedia.entity.vo.UserTicketVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author SuLi
 * @since 2022-04-04
 */
@Mapper
public interface UserTicketMapper extends BaseMapper<UserTicket> {
    List<UserTicketVO> searchByEmail(@Param("email") String email,@Param("page") Long page,@Param("size") Long size);
    List<UserTicketVO> searchByName(@Param("name") String name,@Param("page") Long page,@Param("size") Long size);
    List<UserTicketVO> searchById(@Param("id") String id);
}
